package com.dfk.bs.entity.admin;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lxr
 * @email lixuerong@jsgnjf.com.cn
 * @date 2019-12-18 10:10:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admin对象", description="管理员表")
public class Admin implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "管理员用户名")
	private String username;

	@ApiModelProperty(value = "管理员密码")
	private String password;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	@ApiModelProperty(value = "注释")
	private String remark;

	@ApiModelProperty(value = "操作人")
	private String createby;

	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date createtime;

	@ApiModelProperty(value = "更新时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updatetime;

	@ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
	@TableLogic
	private Integer isDeleted;

}
